<!DOCTYPE html>
{% load staticfiles %}
<html>
  {% block head %}
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="Shortcut Icon" href="/static/ico/X_128px.ico" type="image/x-icon">
  <title>创建您的 XFindSalary 账号</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="{% static 'bower_components/bootstrap/dist/css/bootstrap.min.css'%}">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="{% static 'bower_components/font-awesome/css/font-awesome.min.css'%}">
  <!-- Ionicons -->
  <link rel="stylesheet" href="{% static 'bower_components/Ionicons/css/ionicons.min.css'%}">
  <!-- Theme style -->
  <link rel="stylesheet" href="{% static 'dist/css/ZCfile.min.css'%}">


  <link rel="stylesheet" href="{% static 'css/register1.css'%}">
  <link rel="stylesheet" href="{% static 'css/reset.css' %}">
	<link rel="stylesheet" href="{% static 'css/loading.css' %}">
	<script>
	function initPage()   
{   
    var objLoading = document.getElementById("LoadingBar");   
    if (objLoading != null)   
    {   
        objLoading.style.display = "none";   
    }   
}  
	</script>
 {% block anotherhead %}
 {% endblock %}

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="{% static 'css/GoogleFont.css'%}">
</head>
{% endblock %}
<body class="hold-transition register-page" onload="initPage()">
  	<div id="LoadingBar">
        <div class="loader">
          <div class="loader-inner">
            <div class="loader-line-wrap">
              <div class="loader-line"></div>
            </div>
            <div class="loader-line-wrap">
              <div class="loader-line"></div>
            </div>
            <div class="loader-line-wrap">
              <div class="loader-line"></div>
            </div>
            <div class="loader-line-wrap">
              <div class="loader-line"></div>
            </div>
            <div class="loader-line-wrap">
              <div class="loader-line"></div>
            </div>
          </div>
        </div>
      </div> 
<div class="register-box">
  <div class="register-logo">
  </div>
{% block boxbody %}
  <div class="register-box-body">
    <p class="login-box-msg">注册您的 XFindSalary 账号</p>

    <form  method="post">
        {% csrf_token %}
      <div class="form-group has-feedback">
        <input class="form-control"type="text" placeholder="ID name" id="idInput"  name="staff_id" value="{{ idvalue }}"required>
        <span class="glyphicon glyphicon-user form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input class="form-control" name="staff_email" type="email" maxlength="50" placeholder="Email Address" value="{{ emailvalue }}"required>
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input class="form-control" type="text" placeholder="手机号" id="phoneInput" maxlength="15" name="staff_phone"  value="{{ phonevalue }}" required>
        <span class="glyphicon glyphicon-phone form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input class="form-control" type="text" placeholder="姓名" id="nameInput"  name="staff_name" value="{{ namevalue }}" required>
        <span class="glyphicon glyphicon-log-in form-control-feedback"></span>
      </div>
      <div class="row">
        <div class="col-xs-8">
          <div class="checkbox icheck">
            <label class="fa fa-exclamation" style="color:#f39c12">
              提交您入职的信息与员工ID以注册
            </label>
          </div>
        </div>
        <!-- /.col -->
        <div class="col-xs-4">
          <button type="submit" class="btn btn-primary btn-block btn-flat">注册验证</button>
        </div>
        <!-- /.col -->
      </div>
    </form>

    <div class="social-auth-links text-center">
      <p>- OR -</p>
      <a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign up using
        Facebook</a>
      <a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="fa fa-google-plus"></i> Sign up using
        Google+</a>
    </div>

    <a class="text-center"> 
     
    <div class="error"> 
        {% if error_info%}
        <label  href="{% url 'GZGL:register' %}">{{error_info}}</label> 
    {% endif %}
    {% if error_info2%}
    <label>&nbsp&nbsp&nbsp&nbsp{{error_info2}}</label>
        <a href="{% url 'GZGL:findpassword' %}">单击此处找回密码</a> 
        <label>或</label>
        <a href="{% url 'GZGL:mylogin' %}">单击此处登陆</a> 
    {% endif %}</div> 
 
  </a>
  </div> 

  <!-- /.form-box -->
  {% endblock %}
</div>
<!-- /.register-box -->
{% block JS %}
<!-- jQuery 3 -->
<script src="{% static 'bower_components/jquery/dist/jquery.min.js'%}" type="text/javascript"></script>
<!-- Bootstrap 3.3.7 -->
<script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js'%}" type="text/javascript" ></script>

{% endblock %}
</body>
</html>
